import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

import Frist from '@/components/Frist'
import toadd from '@/components/toadd'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Frist',
      component: Frist
    },
    {
      path: '/toadd',
      name: 'toadd',
      component: toadd
    }
  ]
})
